package ex.klmy.gov.bean;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.json.JsonField;

import java.util.Date;

/**
 * Created by xiaguoqiang on 16/11/2.
 */
@Table("[wbnews]")
public class News{
    @Column
    private String wbnewsid;
    @Column
    private String wbtreeid;
    @Column
    private String wbtitle;
    @Column
    private String wbsummary;
    @Column
    private String owner;
    @Column
    @JsonField(dateFormat="MM-dd hh:mm")
    private Date wbupdatedate;
    @Column("wbpicurl")
    private String img;

    public String getWbnewsid() {
        return wbnewsid;
    }

    public void setWbnewsid(String wbnewsid) {
        this.wbnewsid = wbnewsid;
    }

    public String getWbtreeid() {
        return wbtreeid;
    }

    public void setWbtreeid(String wbtreeid) {
        this.wbtreeid = wbtreeid;
    }

    public String getWbtitle() {
        return wbtitle;
    }

    public void setWbtitle(String wbtitle) {
        this.wbtitle = wbtitle;
    }

    public Date getWbupdatedate() {
        return wbupdatedate;
    }

    public void setWbupdatedate(Date wbupdatedate) {
        this.wbupdatedate = wbupdatedate;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getWbsummary() {
        return wbsummary;
    }

    public void setWbsummary(String wbsummary) {
        this.wbsummary = wbsummary;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }
}
